<?php

namespace App\VO\Product\MetaInfo;

class ProductSkuInfo
{
    public $id = 0;

    public $title = '';

    public $oldPrice = '';

    public $Price = '';

    public $buyMinNum = 0;

    public $buyMaxNum = 0;

    /**
     * 单位
     * @var string
     */
    public $unit;

    /**
     * @param int $id
     */
    public function setId(int $id): void
    {
        $this->id = $id;
    }

    /**
     * @return string
     */
    public function getTitle(): string
    {
        return $this->title;
    }

    /**
     * @param string $title
     */
    public function setTitle(string $title): void
    {
        $this->title = $title;
    }

    /**
     * @return string
     */
    public function getOldPrice(): string
    {
        return $this->oldPrice;
    }

    /**
     * @param string $oldPrice
     */
    public function setOldPrice(string $oldPrice): void
    {
        $this->oldPrice = $oldPrice;
    }

    /**
     * @return string
     */
    public function getPrice(): string
    {
        return $this->Price;
    }

    /**
     * @param string $Price
     */
    public function setPrice(string $Price): void
    {
        $this->Price = $Price;
    }

    /**
     * @return int
     */
    public function getBuyMinNum(): int
    {
        return $this->buyMinNum;
    }

    /**
     * @param int $buyMinNum
     */
    public function setBuyMinNum(int $buyMinNum): void
    {
        $this->buyMinNum = $buyMinNum;
    }

    /**
     * @return int
     */
    public function getBuyMaxNum(): int
    {
        return $this->buyMaxNum;
    }

    /**
     * @param int $buyMaxNum
     */
    public function setBuyMaxNum(int $buyMaxNum): void
    {
        $this->buyMaxNum = $buyMaxNum;
    }

    /**
     * @param string $unit
     */
    public function setUnit(string $unit): void
    {
        $this->unit = $unit;
    }
}
